<form>
    <div class="searchbar-wrap" ng-class="{true : 'focus'}[focus]">
        <div class="searchbar" ng-click="input()">
            <i class="fa fa-search"></i>
            <div class="searchbar-text" ng-bind="placeholder"></div>
            <div class="searchbar-input"><input ng-model="keyword" type="text" placeholder="{{placeholder}}" autocapitalize="off"></div>
            <i class="fa fa-times-circle" ng-click="clear()"></i>
        </div>
        <button class="searchbar-cancel" ng-click="hideInput()">取消</button>
    </div>
</form>